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:
parent
725ea476b8
commit
2bdfcae2bf
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user