From 40931af5edef42bd68ce6d7364f750b67c303cc8 Mon Sep 17 00:00:00 2001 From: "Matthew N. White" Date: Mon, 19 Aug 2024 15:36:38 -0400 Subject: [PATCH] Feeling ruff today --- HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py | 3 ++- HARK/ConsumptionSaving/tests/test_TractableBufferStockModel.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py b/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py index b7ce072a8..69845b2ea 100644 --- a/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py +++ b/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py @@ -224,7 +224,8 @@ def main_test(self): self.assertAlmostEqual( Markov_vFuncBool_example.solution[0].vFunc[1](0.4), -4.12794 ) - + + if __name__ == "__main__": # Run all the tests unittest.main() diff --git a/HARK/ConsumptionSaving/tests/test_TractableBufferStockModel.py b/HARK/ConsumptionSaving/tests/test_TractableBufferStockModel.py index 1e6f3c4cb..a2c4e0401 100644 --- a/HARK/ConsumptionSaving/tests/test_TractableBufferStockModel.py +++ b/HARK/ConsumptionSaving/tests/test_TractableBufferStockModel.py @@ -25,6 +25,7 @@ def test_simulation(self): self.tct.history["aLvl"][15][0], ) + if __name__ == "__main__": # Run all the tests unittest.main()