Skip to content

Commit bfffb95

Browse files
committed
v3.5.0
1 parent f17e2cb commit bfffb95

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "neqsim"
3-
version = "3.4.0"
3+
version = "3.5.0"
44
homepage = "https://github.com/Equinor/neqsim-python"
55
description = "NeqSim is a tool for thermodynamic and process calculations"
66
authors = ["Even Solbraa <esolbraa@gmail.com>"]
@@ -27,6 +27,9 @@ stubgenj = "^0.2.12" # Generate type stubs for Java classes
2727
[tool.poetry.extras]
2828
interactive = ["matplotlib", "jupyter", "tabulate"]
2929

30+
[tool.pytest.ini_options]
31+
addopts = "-p no:faulthandler"
32+
3033
[build-system]
3134
requires = ["poetry-core"]
3235
build-backend = "poetry.core.masonry.api"
41.4 MB
Binary file not shown.

tests/process/test_ProcessTools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_hydrateEquilibriumTemperatureAnalyser():
7272
stream1 = stream("stream1", fluid1)
7373
hydrateDewPoint = hydrateEquilibriumTemperatureAnalyser("analyser1", stream1)
7474
runProcess()
75-
assert hydrateDewPoint.getMeasuredValue("C") == approx(-25.204324, rel=0.001)
75+
assert hydrateDewPoint.getMeasuredValue("C") == approx(-9.901721, rel=0.001)
7676

7777

7878
def test_runProcessAsThread():
@@ -511,14 +511,14 @@ def test_loop_mode():
511511
stream1 = stream("stream1", fluid1)
512512
hydrateDewPoint = hydrateEquilibriumTemperatureAnalyser("analyser1", stream1)
513513
runProcess()
514-
assert hydrateDewPoint.getMeasuredValue("C") == approx(-25.204324, rel=0.001)
514+
assert hydrateDewPoint.getMeasuredValue("C") == approx(-9.901721, rel=0.001)
515515
assert getProcess().getAllUnitNames().size() > 0
516516

517517
clearProcess()
518518
assert getProcess().getAllUnitNames().size() == 0
519519
set_loop_mode(True)
520520
stream1 = stream("stream1", fluid1)
521521
hydrateDewPoint = hydrateEquilibriumTemperatureAnalyser("analyser1", stream1)
522-
assert hydrateDewPoint.getMeasuredValue("C") == approx(-25.204324, rel=0.001)
522+
assert hydrateDewPoint.getMeasuredValue("C") == approx(-9.901721, rel=0.001)
523523
assert getProcess().getAllUnitNames().size() == 0
524524
set_loop_mode(False)

0 commit comments

Comments
 (0)