Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba65f93

Browse files
author
Meir Kriheli
committed
Enable tests
1 parent b394b22 commit ba65f93

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/bidi/tests.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ def test_explicit_with_upper_is_rtl(self):
3737
(u'HAS A _LPDF missing', u'PDF missing A SAH'),
3838
(u'AnD hOw_L AbOuT, 123,987 tHiS_o', u'w AbOuT, 123,987 tHiSOh DnA'),
3939
(u'a GOOD - _L_oTEST.', u'a TSET - DOOG.'),
40-
#(u'here_L is_o_o_o _R a good one_o', u'here is eno doog a'),
41-
#(u'And _r 123,987_LTHE_R next_o oNE:', u'987THEtxen oNE:,123 ndA'),
42-
#(u'_R_r and the last _LONE_o IS', u'SI and the last ONE'),
40+
(u'here_L is_o_o_o _R a good one_o', u'here is eno doog a'),
4341
(u'THE _rbest _lONE and', u'best ENO and EHT'),
4442
(u'A REAL BIG_l_o BUG!', u'!GUB GIB LAER A'),
4543
(u'a _L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_L_Rbug', u'a gub'),
46-
#(u'AN ARABIC _l_o 123-456 NICE ONE!', u'!ENO ECIN 456-123 CIBARA NA'),
44+
(u'AN ARABIC _l_o 123-456 NICE ONE!', u'!ENO ECIN 456-123 CIBARA NA'),
4745
(u'AN ARABIC _l _o 123-456 PAIR', u'RIAP 123-456 CIBARA NA'),
4846
(u'this bug 67_r_o89 catched!', u'this bug 6789 catched!'),
4947
)
@@ -63,7 +61,7 @@ def test_explicit_with_upper_is_rtl(self):
6361
for storage, display in tests:
6462
for key, val in mappings.items():
6563
storage = storage.replace(key, val)
66-
self.assertEqual(get_display(storage, upper_is_rtl=True), display)
64+
self.assertEqual(get_display(storage, upper_is_rtl=True, debug=True), display)
6765

6866

6967
if __name__ == '__main__':

0 commit comments

Comments
 (0)