 
       test "has unique registrations even if partition is delayed", %{registry: registry} do
         {owner, task} = register_task(registry, "hello", :value)
+
         assert Registry.register(registry, "hello", :other) ==
-               {:error, {:already_registered, task}}
+                 {:error, {:already_registered, task}}
 
         :sys.suspend(owner)
         kill_and_assert_down(task)

        {:ok, _} = Registry.register(registry, "hello", "b")

        Registry.unregister_match(registry, :_, :foo)
        assert Registry.lookup(registry, :_) ==
               [{self(), :bar}]

        assert Registry.keys(registry, self()) |> Enum.sort ==
               [:_, "hello", "hello"]
      end

      @tag listener: :"duplicate_listener_#{partitions}"

        assert is_pid(pid)
        assert Registry.keys(registry, self()) == ["hello"]

        assert {:error, {:already_registered, pid}} = Registry.register(registry, "hello", :value)
        assert pid == self()
        assert Registry.keys(registry, self()) == ["hello"]

