File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def test_neuron_soft_vs_hard_reset(self):
148148 def test_neuron_module_attribute (self ):
149149 """Test __module__ attribute is correctly set."""
150150 neuron = Neuron (in_size = self .in_size )
151- self .assertEqual (neuron .__module__ , 'brainpy' )
151+ self .assertEqual (neuron .__module__ , 'brainpy.state ' )
152152
153153
154154class TestSynapseBaseClass (unittest .TestCase ):
@@ -247,7 +247,7 @@ def update(self, x=None):
247247 def test_synapse_module_attribute (self ):
248248 """Test __module__ attribute is correctly set."""
249249 synapse = Synapse (in_size = self .in_size )
250- self .assertEqual (synapse .__module__ , 'brainpy' )
250+ self .assertEqual (synapse .__module__ , 'brainpy.state ' )
251251
252252 def test_synapse_varshape_attribute (self ):
253253 """Test varshape attribute is correctly set."""
You can’t perform that action at this time.
0 commit comments