diff --git a/freezegun/api.py b/freezegun/api.py index 81d4da17..c1d4432b 100644 --- a/freezegun/api.py +++ b/freezegun/api.py @@ -180,7 +180,7 @@ def fake_time(): def fake_time_ns(): if _should_use_real_time(): return real_time_ns() - return int(int(fake_time()) * 1e9) + return int(fake_time() * 1e9) def fake_localtime(t=None):