Skip to content

Commit

Permalink
Simplify standalone test
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Aug 18, 2024
1 parent 0811506 commit 54dfcc3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xdis/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,7 @@ def write_bytecode_file(
)
print("version", version, "magic int", magic_int, "is_pypy", pypy)
if timestamp is not None:
if PYTHON_VERSION_TRIPLE < (3, 10):
print(datetime.datetime.fromtimestamp(timestamp))
else:
print(datetime.fromtimestamp(timestamp))
print(datetime.fromtimestamp(timestamp))
if source_size is not None:
print("source size mod 2**32: %d" % source_size)
if sip_hash is not None:
Expand Down

0 comments on commit 54dfcc3

Please sign in to comment.