From 6c5b29a4f43463470f3337ca8b773dd302fcea8a Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Wed, 31 Aug 2022 01:54:20 -0400 Subject: [PATCH] Use correct defaults --- test/tst_alignment.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/tst_alignment.py b/test/tst_alignment.py index 791295d94..ad0fce039 100644 --- a/test/tst_alignment.py +++ b/test/tst_alignment.py @@ -37,19 +37,19 @@ def setUp(self): v[...] = 0 f.close() if has_alignment: - # ensure to reset the alignment to 0 so as not to + # ensure to reset the alignment to 1 (default values) so as not to # disrupt other tests - set_alignment(0, 0) - assert get_alignment() == (0, 0) + set_alignment(1, 1) + assert get_alignment() == (1, 1) def test_version_settings(self): if has_alignment: - # One should always be able to set the alignment to 0, 0 - set_alignment(0, 0) - assert get_alignment() == (0, 0) + # One should always be able to set the alignment to 1, 1 + set_alignment(1, 1) + assert get_alignment() == (1, 1) else: with self.assertRaises(RuntimeError): - set_alignment(0, 0) + set_alignment(1, 1) with self.assertRaises(RuntimeError): get_alignment()