--- a/coincidence/regressions.py
+++ b/coincidence/regressions.py
@@ -108,10 +108,9 @@
 		return dumper.represent_data(data)
 
 	with suppress(ImportError):
-		# 3rd party
-		import toml
+		import tomllib
 
-		_representer_for(toml.decoder.InlineTableDict)(_represent_mappings)
+		_representer_for(dict)(_represent_mappings)
 
 	@_representer_for(
 			pathlib.PurePath,
--- a/tests/test_regressions.py
+++ b/tests/test_regressions.py
@@ -1,5 +1,6 @@
 # stdlib
 import pathlib
+import tomllib
 import sys
 from collections import ChainMap, Counter, OrderedDict, defaultdict, namedtuple
 from types import MappingProxyType
@@ -7,7 +8,6 @@
 
 # 3rd party
 import pytest
-import toml
 from domdf_python_tools.compat import PYPY37_PLUS
 from domdf_python_tools.paths import PathPlus
 from domdf_python_tools.stringlist import StringList
@@ -100,7 +100,7 @@
 						CustomSequence([MappingProxyType({'a': 1})]), id="Nested_CustomSequence_MappingProxyType"
 						),
 				pytest.param(CustomMapping({'a': Count(a=1, b=2, c=3)}), id="Nested_CustomMapping_NamedTuple"),
-				pytest.param(toml.loads(some_toml)["section"]["table"], id="Toml_InlineTableDict"),
+				pytest.param(tomllib.loads(some_toml)["section"]["table"], id="Toml_InlineTableDict"),
 				pytest.param(pathlib.PurePath("/foo/bar/baz"), id="pathlib_purepath"),
 				pytest.param(pathlib.PurePosixPath("/foo/bar/baz"), id="pathlib_pureposixpath"),
 				pytest.param(pathlib.PureWindowsPath(r"c:\foo\bar\baz"), id="pathlib_purewindowspath"),
