Skip to content

Commit

Permalink
Revert "TEMPORARY: Fix for numpy 2.0 representation changes for testing"
Browse files Browse the repository at this point in the history
This reverts commit aff40eb.
  • Loading branch information
WilliamJamieson committed Jul 31, 2023
1 parent b4adc47 commit d7147e5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions romancal/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@
import os
import tempfile

import numpy as np
import pytest
from astropy.utils import minversion

# HACK: This is a temporary workaround for ASDF not being able to handle how
# numpy 2.0.dev+ represents (prints) floating point numbers. This simply
# forces numpy to use the old printing method while running the tests only.
if minversion(np, "2.0.dev"):
np.set_printoptions(legacy="1.25")


@pytest.fixture
Expand Down

0 comments on commit d7147e5

Please sign in to comment.