diff --git a/unittests/model_tests/neuron/test_synaptic_manager.py b/unittests/model_tests/neuron/test_synaptic_manager.py index ba1685b469..de49650bc6 100644 --- a/unittests/model_tests/neuron/test_synaptic_manager.py +++ b/unittests/model_tests/neuron/test_synaptic_manager.py @@ -104,7 +104,7 @@ def say_false(self, *args, **kwargs): def test_write_data_spec(): unittest_setup() - set_config("Machine", "versions", VersionStrings.ANY.value) + set_config("Machine", "versions", VersionStrings.ANY.text) writer = SpynnakerDataWriter.mock() # UGLY but the mock transceiver NEED generate_on_machine to be False AbstractGenerateConnectorOnMachine.generate_on_machine = say_false @@ -434,7 +434,7 @@ def test_pop_based_master_pop_table_standard( undelayed_indices_connected, delayed_indices_connected, n_pre_neurons, neurons_per_core, max_delay): unittest_setup() - set_config("Machine", "versions", VersionStrings.FOUR_PLUS.value) + set_config("Machine", "versions", VersionStrings.FOUR_PLUS.text) writer = SpynnakerDataWriter.mock() # Build a from list connector with the delays we want