mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
Fix hybrid newton python tests imports
This commit is contained in:
1 parent
14294dd6b8
commit
c26ca82c45
2 files changed
+3
-4
No files matched your search
@@ -4,8 +4,8 @@ from pathlib import Path
|
||||
import numpy as np
|
||||
import subprocess
|
||||
|
||||
from utils import collect_input_features, compute_output_vars, write_config, extract_newtit_from_file, extract_unrst_variables
|
||||
from utils import (ABSOLUTE_CASES, RELATIVE_CASES, FEATURE_ENGINEERING_CASES, SCALING_CASES, MULTI_MODEL_CASES, ZERO_NEWTON_CASES, ALL_CASES)
|
||||
from .utils import collect_input_features, compute_output_vars, write_config, extract_newtit_from_file, extract_unrst_variables
|
||||
from .utils import (ABSOLUTE_CASES, RELATIVE_CASES, FEATURE_ENGINEERING_CASES, SCALING_CASES, MULTI_MODEL_CASES, ZERO_NEWTON_CASES, ALL_CASES)
|
||||
|
||||
import tensorflow as tf
|
||||
from kerasify import export_model
|
||||
@@ -197,5 +197,3 @@ class TestHybridNewton(unittest.TestCase):
|
||||
f"got {h}, expected <= {b}"
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user