Skip to content

Commit

Permalink
Moving filtering warnings before loading numpy [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Sep 26, 2023
1 parent ade9c10 commit 55466b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import warnings

warnings.filterwarnings("ignore", category=ImportWarning)

from __future__ import annotations


import pydefm as m
import numpy as np

import warnings

warnings.filterwarnings("ignore", category=ImportWarning)

y = np.array([0, 10, 3])
x = np.array([1, 2.0, 3.4])
Expand Down

0 comments on commit 55466b1

Please sign in to comment.