1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

changing the str() function to more closely match the other primitive types

This commit is contained in:
Joel Bender 2015-09-05 22:39:09 -04:00
parent 725ea476b8
commit 2bdfcae2bf

View File

@ -86,7 +86,7 @@ class TestDate(unittest.TestCase):
obj = Date((1,2,3,4))
assert obj.value == (1,2,3,4)
assert str(obj) == "1901-2-3 thu"
assert str(obj) == "Date(1901-2-3 thu)"
def test_date_tag(self):
if _debug: TestInteger._debug("test_date_tag")