Skip to content

Commit 5c57d19

Browse files
committed
Bump version 2.5.1, update changelog
1 parent 7ad7170 commit 5c57d19

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
version 2.5.1
2+
----------------------------------------------------------
3+
* Bug fix TCP Repl server.
4+
* Support multiple UID's with REPL server.
5+
* Support serial for URL (sync serial client)
6+
17
version 2.5.0
28
----------------------------------------------------------
39
* Support response types `stray` and `empty` in repl server.

pymodbus/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __str__(self):
4141
return '[%s, version %s]' % (self.package, self.short())
4242

4343

44-
version = Version('pymodbus', 2, 5, 1, 'rc1')
44+
version = Version('pymodbus', 2, 5, 1)
4545

4646
version.__name__ = 'pymodbus' # fix epydoc error
4747

test/test_client_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def testBasicSyncSerialClient(self, mock_serial):
448448
def testSerialClientConnect(self):
449449
''' Test the serial client connection method'''
450450
with patch.object(serial, 'Serial') as mock_method:
451-
mock_method.return_value = object()
451+
mock_method.return_value = MagicMock()
452452
client = ModbusSerialClient()
453453
self.assertTrue(client.connect())
454454

0 commit comments

Comments
 (0)