Kaynağa Gözat

Updated test about small numbers

Yann Weber 6 yıl önce
ebeveyn
işleme
6fe79da798
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      tests/test_rpnsymbol.py

+ 1
- 1
tests/test_rpnsymbol.py Dosyayı Görüntüle

@@ -13,7 +13,7 @@ class RpnSymbolTestCase(unittest.TestCase):
13 13
 
14 14
     def test_value(self):
15 15
         sym = RpnSymbol(42, RpnSymbol.VALUE)
16
-        self.assertEqual(str(sym), '0x002A')
16
+        self.assertEqual(str(sym), '0x2A')
17 17
 
18 18
     def test_op(self):
19 19
         sym = RpnSymbol(0, RpnSymbol.OPERATION)

Loading…
İptal
Kaydet